package com.ctrip.cap.domain.benchmark.dashboard;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.ctrip.cap.domain.benchmark.util.BenchmarkUtil;

public class BvtRunStastic {
	private int stasticId;
	private int runId;
	private String platform;
	private String appName;
	private String appPath;
	private double passRate;
	private int whiteBoardCount;
	private String whiteBoardDetail;
	private List<String> whiteBoardDetailList;
	private int bugCount;
	private Date creationDate;
	private String createtionDateString;
	private Date lastModifiedDate;
	
	private double successRatio;
	private double nonTotalFailRatio;
	private String timeTake;
	private int totalCases;
	private int totalSuccess;
	private String logo;
	
	private Map<Integer, BvtJobStastic> bvtJobStasticMap;
	
	public BvtRunStastic(){
		super();
	}
	
	public int getStasticId() {
		return stasticId;
	}
	public void setStasticId(int stasticId) {
		this.stasticId = stasticId;
	}
	public int getRunId() {
		return runId;
	}
	public void setRunId(int runId) {
		this.runId = runId;
	}
	public String getPlatform() {
		return platform;
	}
	public void setPlatform(String platform) {
		this.platform = platform;
	}
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getAppPath() {
		return appPath;
	}
	public void setAppPath(String appPath) {
		this.appPath = appPath;
	}
	public double getPassRate() {
		return passRate;
	}
	public void setPassRate(double passRate) {
		this.passRate = passRate;
	}
	public int getWhiteBoardCount() {
		return whiteBoardCount;
	}
	public void setWhiteBoardCount(int whiteBoardCount) {
		this.whiteBoardCount = whiteBoardCount;
	}
	public String getWhiteBoardDetail() {
		return whiteBoardDetail;
	}
	public void setWhiteBoardDetail(String whiteBoardDetail) {
		this.whiteBoardDetail = whiteBoardDetail;
	}
	public int getBugCount() {
		return bugCount;
	}
	public void setBugCount(int bugCount) {
		this.bugCount = bugCount;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
		setCreatetionDateString(BenchmarkUtil.formatDateAsString(creationDate));
	}
	public Date getLastModifiedDate() {
		return lastModifiedDate;
	}
	public void setLastModifiedDate(Date lastModifiedDate) {
		this.lastModifiedDate = lastModifiedDate;
	}

	public Map<Integer, BvtJobStastic> getBvtJobStasticMap() {
		return bvtJobStasticMap;
	}

	public void setBvtJobStasticMap(Map<Integer, BvtJobStastic> bvtJobStasticMap) {
		this.bvtJobStasticMap = bvtJobStasticMap;
	}

	public double getSuccessRatio() {
		return successRatio;
	}

	public void setSuccessRatio(double successRatio) {
		this.successRatio = successRatio;
	}

	public double getNonTotalFailRatio() {
		return nonTotalFailRatio;
	}

	public void setNonTotalFailRatio(double nonTotalFailRatio) {
		this.nonTotalFailRatio = nonTotalFailRatio;
	}

	public String getTimeTake() {
		return timeTake;
	}

	public void setTimeTake(String timeTake) {
		this.timeTake = timeTake;
	}

	public int getTotalCases() {
		return totalCases;
	}

	public void setTotalCases(int totalCases) {
		this.totalCases = totalCases;
	}

	public int getTotalSuccess() {
		return totalSuccess;
	}

	public void setTotalSuccess(int totalSuccess) {
		this.totalSuccess = totalSuccess;
	}

	public List<String> getWhiteBoardDetailList() {
		return whiteBoardDetailList;
	}

	public void setWhiteBoardDetailList(List<String> whiteBoardDetailList) {
		this.whiteBoardDetailList = whiteBoardDetailList;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getCreatetionDateString() {
		return createtionDateString;
	}

	public void setCreatetionDateString(String createtionDateString) {
		this.createtionDateString = createtionDateString;
	}
	
	
	
	
}
